<?php

/**
 * Description of backofficeAction
 *
 * @author francisc
 */
class backofficeAction extends sfAction {

    public function execute($request) {
        if (null == $this->getUser()->getAttribute('current_restaurant_id'))
            return $this->setTemplate ('backofficeMinimal');
        
        $this->form = new ReservationBackofficeForm();
        $this->form->setDefault('time_hour', '18');
    }
}
